
package com.topwalk.ws.multiService;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for failInfo.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="failInfo">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="ACCESS_ADDRESS_FAIL"/>
 *     &lt;enumeration value="ACCESS_ADDRESS_REPEAT"/>
 *     &lt;enumeration value="LOGININFO_ERROR"/>
 *     &lt;enumeration value="AUTHENTICATION_FAIL"/>
 *     &lt;enumeration value="SESSION_INVALIDATION"/>
 *     &lt;enumeration value="PARAMETER_ERROR"/>
 *     &lt;enumeration value="SERVICE_ERROR"/>
 *     &lt;enumeration value="SERVICE_NOT_EXIST"/>
 *     &lt;enumeration value="PERMISSION_NOT_ENOUGH"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "failInfo")
@XmlEnum
public enum FailInfo {

    ACCESS_ADDRESS_FAIL,
    ACCESS_ADDRESS_REPEAT,
    LOGININFO_ERROR,
    AUTHENTICATION_FAIL,
    SESSION_INVALIDATION,
    PARAMETER_ERROR,
    SERVICE_ERROR,
    SERVICE_NOT_EXIST,
    PERMISSION_NOT_ENOUGH;

    public String value() {
        return name();
    }

    public static FailInfo fromValue(String v) {
        return valueOf(v);
    }

}
